export default function Child(props) {
    const { list } = props;
    return (
        <div className="bd">
            <ul>
                {list.map((item, index) => {
                    return <li key={index}>{item}</li>
                })}
            </ul>
        </div>
    );
}